﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using bt1.DTO;
using bt1.DAO;
using System.Data;

namespace bt1.BUS
{
    public class SanPhamBUS
    {
        public void ThemSanPham(SanPhamDTO item)
        {
            SanPhamDAO spDAO = new SanPhamDAO();
            spDAO.ThemSanPham(item);
        }

        public DataTable LayDS()
        {
            SanPhamDAO spDAO = new SanPhamDAO();
            return spDAO.LayDS();
        }
    }
}
